



//**************************************************字符串转数组*****************************************************************************//
var str = "1,2,3,4,5,6,7,8,9,10";

var arr =str.split(",");

console.log(arr);




//****************************************************数组转字符串***************************************************************************//


var arr=[1,2,4,5,6,7,8,9];

var str=arr.join(",");

console.log(str);












